package com.jt.demo3;

import org.springframework.context.annotation.*;

@ComponentScan("com.jt.demo3")
@Configuration
public class SpringSnake {
    @Bean
    @Scope("prototype")
    @Lazy
public Snake snake(){
    return new Snake();
}
}
